.slide-transform-leave-active,
.slide-transform-enter-active {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.slide-transform-enter {
  opacity: 0;
  position: relative;
  transform: translateX(-30px);
}
.slide-transform-leave-to {
  opacity: 0;
  position: relative;
  transform: translateX(30px);
}

.fade-transform-enter-active {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), border 0s;
}
.fade-transform-enter {
  opacity: 0;
  position: relative;
}
.fade-transform-leave-to {
  opacity: 0;
  position: relative;
}

/*缩放*/
.scale-enter,
.scale-leave-to {
  opacity: 0;
  transform: scale(0.9);
}
.scale-enter-active {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.scale-leave-active {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/*向下*/
.dialog-enter {
  transform: translate3d(0, -25px, 0);
}
.dialog-leave-to {
  opacity: 0;
  transform: translate3d(0, -25px, 0);
}
.dialog-enter-active,
.dialog-leave-active {
  transition: transform 0.3s ease, opacity 0.4s ease;
}

/* 面包屑 transition */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
  transition: all 0.5s;
}
.breadcrumb-enter,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(20px);
}
.breadcrumb-move {
  transition: all 0.5s;
}
.breadcrumb-leave-active {
  position: absolute;
}

/*路由前进，进入*/
.pop-in-enter {
  opacity: 0;
  transform: translate3d(90%, 0, 0);
}
.pop-in-leave-to {
  opacity: 0;
  transform: translate3d(-90%, 0, 0);
}
/*路由退出，后退*/
.pop-out-enter {
  will-change: transform, opcity;
  transform: translate3d(-100%, 0, 0);
}
.pop-out-leave-to {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.pop-out-enter-active,
.pop-out-leave-active,
.pop-in-enter-active,
.pop-in-leave-active {
  will-change: transform, opcity;
  height: 100%;
  width: 100%;
  flex: 1;
  position: absolute;
  backface-visibility: hidden;
  perspective: 1000;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  content-visibility: auto;
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
  box-shadow: -0.1rem 0 0.12rem rgba(0, 0, 0, 0.1);
}
